package com.springup.trade.mapper;

import com.springup.trade.entity.Transaction;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * Transaction Mapper
 */
@Mapper
public interface TransactionMapper {

    public int insert(Transaction transactions);

    public int update(Transaction transactions);

    public int queryCount(Transaction transactions);

    public Transaction queryTransactionByTransactionId(Transaction transactions);

    public Transaction queryDataOfUpdateBuy(Transaction transaction);

    public Transaction queryTransaction(Transaction transaction);

    public List<Transaction> queryTransactionList(Transaction transactions);
}
